﻿namespace Eneta.Portal.Common.Dto
{
    /// <summary>
    /// Class for forum posts.
    /// </summary>
    public class ForumPostDto : BaseDto
    {
        /// <summary>
        /// Gets or sets the body of forum post.
        /// </summary>
        public string Body { get; set; }

        /// <summary>
        /// Gets or sets the forum id.
        /// </summary>
        public int ForumId { get; set; }

        /// <summary>
        /// Gets or sets the topic.
        /// </summary>
        public ForumTopicDto Topic { get; set; }

        /// <summary>
        /// Gets or sets the topic id.
        /// </summary>
        public int TopicId { get; set; }

        /// <summary>
        /// Gets or sets the user name of the author.
        /// </summary>
        public string AuthorUserName { get; set; }

        /// <summary>
        /// Gets or sets the name of the author.
        /// </summary>
        public string AuthorProfileName { get; set; }

        /// <summary>
        /// Gets or sets the id of owner profile.
        /// </summary>
        public string OwnerProfileId { get; set; }

        /// <summary>
        /// Gets or sets the last modification timestamp.
        /// </summary>
        public string ModifiedBy { get; set; }

        /// <summary>
        /// Gets or sets the name of the user who last modifiefd thee post.
        /// </summary>
        public string ModifiedByUserName { get; set; }

        /// <summary>
        /// Gets or sets the editor explanation about for modification.
        /// </summary>
        public string EditorExplanation { get; set; }
    }
}
